const router = require('koa-router')();

const loginRouter = require('./login');
const authRouter = require('./auth');

router.use('', loginRouter.routes(), loginRouter.allowedMethods()); // 登录注册 相关的接口
router.use('', authRouter.routes(), authRouter.allowedMethods());  // 其他所有接口

module.exports = router;




